package com.qm.console.dao.mapper;

import com.qm.console.dao.model.IllegalKeywordDO;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IllegalKeywordDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(IllegalKeywordDO record);

    int insertSelective(IllegalKeywordDO record);

    IllegalKeywordDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(IllegalKeywordDO record);

    int updateByPrimaryKey(IllegalKeywordDO record);

    @Select("select * from illegal_keyword order by create_time desc")
    List<IllegalKeywordDO> list();

}